'''
Created on Feb 22, 2013

@author: dmatthews
'''

class Credentials(object):
    
    def __init__(self, username="", password=""):
        self.username = username
        self.password = password
        
    def _get_username_ascii(self):
        return self.username.encode('ascii', 'ignore')
    username_ascii = property(_get_username_ascii)
    
    def _get_password_ascii(self):
        return self.password.encode('ascii', 'ignore')
    password_ascii = property(_get_password_ascii)